package com.dearbinge.data.pojo.commodity.vo;

import com.dearbinge.data.pojo.commodityspec.vo.CommoditySpecRequestVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * 商品信息 请求参数VO
 *
 * @author wes
 * @date 2019/1/12
 */

@Api("商品信息")
public class CommodityMessageRequestVO implements Serializable {

    /**
     * 商品ID
     */
    @ApiModelProperty("商品id")
    private Integer id;

    /**
     * 商品类目
     */
    @ApiModelProperty("商品类目")
    private String commodityType;


    /**
     * 分类编码名字
     */
    @ApiModelProperty("分类编码名字")
    private String categoryName;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id 必传")
    private String userId;

    /**
     * 图片
     */
    @ApiModelProperty("图片 必传")
    private String imgUrl;

    /**
     * 展示价格（在规格价格之内）
     */
    @ApiModelProperty("展示价格（在规格价格之内）")
    private BigDecimal retailPrice;

    /**
     * 参考价
     */
    @ApiModelProperty("参考价")
    private BigDecimal originalPrice;

    /**
     * 商品名字
     */
    @ApiModelProperty("商品名字 必传")
    private String commodityName;

    /**
     * 商品描述
     */
    @ApiModelProperty("商品描述")
    private String commodityDescribe;

    /**
     * 起运发货地
     */
    @ApiModelProperty("起运发货地")
    private String payLocal;


    /**
     * 货号（商品本身携带的）
     */
    @ApiModelProperty("货号（商品本身携带的）")
    private String goodsCode;

    /**
     * 地理位置名称
     */
    @ApiModelProperty("地理位置名称")
    private String positionName;

    /**
     * 经度
     */
    @ApiModelProperty("经度")
    private String longitude;

    /**
     * 纬度
     */
    @ApiModelProperty("纬度")
    private String latitude;

    /**
     * 品牌信息
     */
    @ApiModelProperty("品牌信息")
    private CommodityBrandInfoRequestVO commodityBrandInfoRequestVO;

    /**
     * 商品规格
     */
    @ApiModelProperty("商品规格")
    private List<CommoditySpecRequestVO> listSpec;

    /**
     * 商品佣金
     */
    @ApiModelProperty("商品佣金")
    private CommodityCommissionRequestVO commodityCommissionRequestVO;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCommodityType() {
        return commodityType;
    }

    public void setCommodityType(String commodityType) {
        this.commodityType = commodityType;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public BigDecimal getRetailPrice() {
        return retailPrice;
    }

    public void setRetailPrice(BigDecimal retailPrice) {
        this.retailPrice = retailPrice;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public String getCommodityDescribe() {
        return commodityDescribe;
    }

    public void setCommodityDescribe(String commodityDescribe) {
        this.commodityDescribe = commodityDescribe;
    }

    public String getPayLocal() {
        return payLocal;
    }

    public void setPayLocal(String payLocal) {
        this.payLocal = payLocal;
    }

    public String getGoodsCode() {
        return goodsCode;
    }

    public void setGoodsCode(String goodsCode) {
        this.goodsCode = goodsCode;
    }

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public CommodityBrandInfoRequestVO getCommodityBrandInfoRequestVO() {
        return commodityBrandInfoRequestVO;
    }

    public void setCommodityBrandInfoRequestVO(CommodityBrandInfoRequestVO commodityBrandInfoRequestVO) {
        this.commodityBrandInfoRequestVO = commodityBrandInfoRequestVO;
    }

    public List<CommoditySpecRequestVO> getListSpec() {
        return listSpec;
    }

    public void setListSpec(List<CommoditySpecRequestVO> listSpec) {
        this.listSpec = listSpec;
    }

    public CommodityCommissionRequestVO getCommodityCommissionRequestVO() {
        return commodityCommissionRequestVO;
    }

    public void setCommodityCommissionRequestVO(CommodityCommissionRequestVO commodityCommissionRequestVO) {
        this.commodityCommissionRequestVO = commodityCommissionRequestVO;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public BigDecimal getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(BigDecimal originalPrice) {
        this.originalPrice = originalPrice;
    }

    @Override
    public String toString() {
        return "CommodityMessageRequestVO{" +
                "id=" + id +
                ", commodityType='" + commodityType + '\'' +
                ", categoryName='" + categoryName + '\'' +
                ", userId='" + userId + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", retailPrice=" + retailPrice +
                ", originalPrice=" + originalPrice +
                ", commodityName='" + commodityName + '\'' +
                ", commodityDescribe='" + commodityDescribe + '\'' +
                ", payLocal='" + payLocal + '\'' +
                ", goodsCode='" + goodsCode + '\'' +
                ", positionName='" + positionName + '\'' +
                ", longitude='" + longitude + '\'' +
                ", latitude='" + latitude + '\'' +
                ", commodityBrandInfoRequestVO=" + commodityBrandInfoRequestVO +
                ", listSpec=" + listSpec +
                ", commodityCommissionRequestVO=" + commodityCommissionRequestVO +
                '}';
    }
}
